import React,{ Component } from 'react'
import { NavLink,Link } from 'react-router-dom'
import './index.scss'


export default class Nav extends Component{
    render(){
        return(
            <nav>
                <a className="place">
                    <p>杭州</p>
                    <i className="fas fa-caret-down"></i>
                </a>
                <ul>
                <NavLink to="/home/hot" activeClassName="active">
                    <li className="active">
                        正在热映
                    </li>
                        </NavLink>
                <NavLink to="/home/coming" activeClassName="active">
                    <li>
                        即将上映
                    </li>
                </NavLink>
                </ul>
                <i className="fas fa-search"></i>
            </nav>
        )
    }
}